CREATE TABLE [dbo].[TTDOCU_EXVE]
(
[CO_EMPR] [dbo].[TD_VC_002] NOT NULL,
[TI_DOCU] [dbo].[TD_VC_003] NOT NULL,
[CO_USUA_CREA] [dbo].[TD_VC_008_USUA] NOT NULL,
[FE_USUA_CREA] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTDOCU_EX__FE_US__39E294A9] DEFAULT (getdate()),
[CO_USUA_MODI] [dbo].[TD_VC_008_USUA] NOT NULL,
[FE_USUA_MODI] [dbo].[TD_DT_001_SIST] NOT NULL CONSTRAINT [DF__TTDOCU_EX__FE_US__3AD6B8E2] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTDOCU_EXVE] ADD CONSTRAINT [TTDOCU_EXVE_18546296501] PRIMARY KEY CLUSTERED  ([CO_EMPR], [TI_DOCU]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[TTDOCU_EXVE] ADD CONSTRAINT [FK1_TMPARA_CONT_A_TTTIDO_EXVE] FOREIGN KEY ([CO_EMPR]) REFERENCES [dbo].[TMPARA_CONT] ([CO_EMPR])
GO
